package edu.whu.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
@TableName("user")
public class User {

    @TableId
    Integer id;
    String name;

    public User() {
    }
    public User(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
